package com.xbongbong.pro.formexplain.pojo;

import com.xbongbong.paas.field.SubFormPoJo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/10 15:52
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ReturnExplainPojo implements Serializable {

    private static final long serialVersionUID = -2736726813851069045L;
    private String attr;

    private String name;

    private String attrName;

    private Integer fieldType;

    private SubFormPoJo subForm;

    public ReturnExplainPojo() {

    }

    public ReturnExplainPojo(String attr, String attrName, Integer fieldType, SubFormPoJo subForm) {
        this.attr = attr;
        this.attrName = attrName;
        this.fieldType = fieldType;
        this.subForm = subForm;
    }

    public ReturnExplainPojo(String attr, String name, String attrName, Integer fieldType, SubFormPoJo subForm) {
        this.attr = attr;
        this.name = name;
        this.attrName = attrName;
        this.fieldType = fieldType;
        this.subForm = subForm;
    }
}
